package com.zyc.eduservice.client;

import com.zyc.commonUtils.R;
import com.zyc.eduservice.entity.UcenterMember;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author zyc
 * @create 2022-03-01-15:35
 */
@Component
@FeignClient(name="service-ucenter")
public interface UcenterClient {
    //根据用户id获取用户信息
    @GetMapping("/eduucenter/getInfoUc/{id}")
    public UcenterMember getUcenterPay(@PathVariable("id") String id);
}

